Pinger

What does it do?

Pinger is a very simple implementation of the ICMP (Internet Control Message Protocol) protocol. It allows you to test connectivity and response times across a network or the internet.

How does it work?

Pinger sends a small string of data to a target host a set number of times at a set interval. It will then count the time it takes for that packet to return from the target and if it takes longer than a set timeout value, it is discarded.

How do I use it?

Note: Depending on whether you run on OS X or OS 9, you will be presented with a different window. This is because the legacy Pinger used in OS 9, only runs on OS X when the user has root privileges.

In Net Tool Box, click the "Pinger" button on the toolbar. When the Ping window appears, type the DNS name or IP address of the target in the "Target" field. If you want to change the number of times the host is pinged, change the "Count" field to your preferred value. Also, if you know your network is particularly slow or fast, change the "Timeout" value as required. Also, if you want to increase or decrease the interval between pings, change the "Interval" field.

Once you have set the values press "Start". Pinger will then start sending the packets. When a packet has been sent a row will be added to the list with the packet number in the second column. Once a packet has been received, it will display a tick in the "Received" column and the time it took (in milliseconds) in the "Time" column. If a packet has not been received in less than the timeout value, it will be marked with a "X" in the "Received" column.

Problems

ICMP packets cannot go backwards through a NAT (Network Address Translation) firewall or router. That means that if the address you are trying to ping has an IP starting with either "10.x.x.x" or "192.168.x.x" and you are not on the same network, the pings will always fail.

Also, some firewalls discard all ICMP packets for security. This is because more complex implementations of ICMP can be used maliciously. This type of use of ICMP is sometimes called a "Ping of Death".


© Charlie Boisseau 2002